package com.member.server.mapper;

import com.member.server.entity.RecordAccountRefund;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Collection;
import java.util.List;

/**
 * @author gaojx1993
 * @version 1.0
 * @description RecordAccountRefundMapper
 * @since 2023/7/11 15:24
 */
@Mapper
public interface RecordAccountRefundMapper {

    List<RecordAccountRefund> selectByRecordId(@Param("recordId") Long recordId);

    List<RecordAccountRefund> selectByPayRecordId(@Param("payRecordId") Long payRecordId);

    long insertBatch(@Param("entities") Collection<RecordAccountRefund> entities);
}
